﻿using System;

namespace HYRElectric.PowerSystem
{
	public class MaterialInfo
	{
		public string strName { get; set; }

		public string strSpec { get; set; }

		public int nCount { get; set; }

		public double dLength { get; set; }

		public string strUnit { get; set; }

		public MaterialInfo(string name, string spec, int count, string unit)
		{
			this.strName = name;
			this.strSpec = spec;
			this.nCount = count;
			this.strUnit = unit;
		}

		public MaterialInfo(string name, string spec, double length, string unit)
		{
			this.strName = name;
			this.strSpec = spec;
			this.dLength = length;
			this.strUnit = unit;
		}
	}
}
